.sigin-container {
  padding-top: 20px;
  .body {
    display: flex;
    align-items: stretch;
    height: 100%;
    position: relative;
  }
  .left {
    padding: 0 10px 0 40px;
    flex: 1;
    .title {
      @include flex_between();
      span {
        font-family: pangmen;
        font-size: 34px;
        line-height: 27px;
        height: 24px;
        letter-spacing: -3px;
      }
      div {
        width: 96px;
        height: 32px;
        background: #F7F7F7;
        border-radius: 5px 5px 5px 5px;
        border: 1px solid #E6E6E6;
        color: #1A1A1A;
        text-align: center;
        line-height: 32px;
        cursor: pointer;
        i {
          vertical-align: 1px;
          font-size: 12px;
        }
      }
    }
    .data-card {
      background: url("~@/assets/images/signIn/bg.png") no-repeat center center / 100% 100%;
      width: 100%;
      height: 280px;
      border-radius: 4px;
      padding: 20px;
      margin-top: 20px;
      .time {
        color: $-color-brown;
        font-size: 36px;
        font-family: changchun1hao;
      }
      .total-time span{
        font-size: 24px;
        line-height: 20px;
        vertical-align: -2px;
      }
      .time-info {
        @include flex_between();
        align-items: baseline;
        .time, .total-time span {
          color: $-color-brown;
          font-size: 36px;
          font-family: changchun1hao;
        }
      }
      .cell-group {
        border-radius: 4px;
        border: 1px solid;
        @include border_color();
        padding: 0 16px;
        margin-top: 32px;
        background: #fff;
        font-size: 16px;
        .cell {
          border-bottom: 1px solid #E6E6E6;
          height: 54px;
          @include flex_between();
          position: relative;
          &:last-child {
            border: none;
            .arrow {
              position: absolute;
              left: 50%;
              transform: translateX(-50%) rotate(87deg);
              top: -11px;
              padding: 0 5px;
              z-index: 1;
              background: #fff;
            }
          }
          img {
            width: 24px;
            height: 24px;
            vertical-align: -5px;
            margin-right: 8px;
          }
          span {
            font-family: changchun1hao;
            line-height: 20px;
          }
          &:first-child span {
            vertical-align: -2px;
          }
          .val {
            font-size: 24px;
            margin-right: 10px;
          }
        }
      }
    }
    .record-btn {
      @include background_color();
      color: #1A1A1A;
      width: 100%;
      border-radius: 4px;
      height: 36px;
      line-height: 36px;
      display: block;
      text-align: center;
      margin-top: 12px;
      i {
        vertical-align: 0;
        font-size: 12px;
      }
    }
    .total-cell {
      height: 296px;
      //height: 356px;
      overflow: auto;
      margin-top: 12px;
      .item {
        height: 88px;
        @include flex_center();
        flex-direction: column;
        align-items: flex-start;
        background: url("~@/assets/images/signIn/card-money.png") no-repeat center center / 100% 100%;
        padding-left: 100px;
        margin-bottom: 12px;
        cursor: pointer;
        position: relative;
        .checked {
          position: absolute;
          right: 0;
          top: 0;
          color: #000;
          span {
            position: relative;
            z-index: 1;
          }
          &:before {
            content: "";
            width: 0;
            height: 0;
            right: 0;
            top: 0;
            position: absolute;
            @include theme_each {
              border-top: 40px solid get_color('default_color');
            }
            border-left: 40px solid transparent;
          }
        }
        &.gift-1 {
          background-image: url("~@/assets/images/signIn/card-drink.png");
        }
        &.disabled {
          opacity: .5;
          cursor: not-allowed;
        }
        &.active:after {
          content: "";
          position: absolute;
          top: 0;
          right: 0;
          width: 40px;
          height: 40px;
          background: url("~@/assets/images/signIn/icon-check.png");
          z-index: 1;
        }
        .name {
          font-weight: bold;
          font-size: 18px;
          @include line-over(1);
        }
        .desc {
          color: $-color-gray;
        }
      }
    }
  }
  .right {
    width: 844px;
    padding-left: 10px;
    padding-right: 35px;
    .week-list {
      height: 32px;
      line-height: 32px;
      font-weight: bold;
      background: #F4F4F4;
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      margin-bottom: 10px;
      margin-right: 5px;
    }
    .day-body {
      overflow: auto;
      height: calc(100% - 42px);
      flex: 1;
      padding-bottom: 10px;
      padding-right: 5px;

      .day-list {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 10px;
        .item {
          height: 154px;
          width: 104px;
          box-sizing: border-box;
          background-size: 100% 100%;
          position: relative;
        }
        .day {
          background-image: url("~@/assets/images/signIn/day.png");
          padding: 32px 10px 0;
          position: relative;
          cursor: pointer;
          .num {
            position: absolute;
            top: 5px;
            left: 6px;
            font-size: 12px;
            span {
              font-size: 16px;
              font-family: changchun1hao;
            }
          }
          .gift-con {
            background-size: 100% 100%;
            height: 88px;
            width: 88px;
            position: relative;
            .gift-text {
              position: absolute;
              font-size: 13px;
              top: 29px;
              left: 19px;
              width: 53px;
              transform: rotate(-26deg);
              line-height: 12px;
              text-align: center;
              color: $-color-brown;
              font-family: pangmen;
              @include line-over(2);
            }
            &.no-gift {
              background-image: url("~@/assets/images/signIn/icon-none.png")!important;
            }
            &.gift-1, &.gift-2 {
              background-image: url("~@/assets/images/signIn/icon-coupon.png");
              .gift-text {
                left: 11px;
                top: 32px;
                transform: rotate(-22deg);
              }
            }
            &.gift-3 {
              background-image: url("~@/assets/images/signIn/icon-money.png");
            }
            &.gift-4 {
              background-image: url("~@/assets/images/signIn/icon-card.png");
              .gift-text {
                top: 23px;
                left: 10px;
                width: 60px;
              }
            }
          }
          .bottom {
            position: relative;
            height: 26px;
            text-align: center;
            font-size: 12px;
            line-height: 26px;
            margin-top: 6px;
            &:after {
              content: "签到";
            }
          }
          &.end {
            cursor: not-allowed;
            &:after {
              content: "";
              width: 100%;
              height: 100%;
              top: 0;
              left: 0;
              position: absolute;
              z-index: 1;
              background-image: url("~@/assets/images/signIn/day-mask.png");
            }
            .bottom:after {
              content: '已签到';
              color: #887A00;
            }
          }
          &.fill {
            .bottom:after {
              content: '补签';
            }
          }
          &.disabled { // 不可签到
            background-image: url("~@/assets/images/signIn/day-disabled.png");
            cursor: not-allowed;
            .gift-text {
              color: #353535;
            }
            .no-gift {
              background-image: url("~@/assets/images/signIn/icon-none-d.png")!important;
            }
            .gift-1, .gift-2 {
              background-image: url("~@/assets/images/signIn/icon-coupon-d.png");
            }
            .gift-3 {
              background-image: url("~@/assets/images/signIn/icon-money-d.png");
            }
            .gift-4 {
              background-image: url("~@/assets/images/signIn/icon-card-d.png");
            }
            .bottom {
              color: $-color-muted;
            }
          }
        }
      }
    }
    .day-tooltip {
      position: fixed;
      top: 25%;
      left: 25%;
      background: #fff;
      border-radius: 8px;
      filter: drop-shadow(0px 3px 6px #e2e2e2);
      z-index: 100;
      .tooltip-con {
        background: #fff;
        position: relative;
        z-index: 1;
        padding: 12px;
        border-radius: 8px;
        font-size: 12px;
        .item {
          img {
            vertical-align: -3px;
          }
        }
      }
      &:after {
        content: "";
        position: absolute;
        bottom: -5px;
        width: 24px;
        height: 24px;
        border-radius: 2px;
        left: 48px;
        background: #fff;
        transform: rotate(45deg);
      }
    }
  }
  .rule-model {
    @include model('fixed');
    @include flex_center();
    .rule-body {
      background: url("~@/assets/images/signIn/rule-bg.png") no-repeat center center / 100% 100%;
      height: 280px;
      width: 643px;
    }
    .head {
      position: relative;
      height: 44px;
      img {
        position: absolute;
        right: 20px;
        top: 10px;
        width: 24px;
        height: 24px;
        cursor: pointer;
        z-index: 1;
      }
    }
    .content {
      width: 100%;
      max-height: 208px;
      font-size: 14px;
      padding: 10px 20px;
      line-height: 24px;
    }
    &.show {
      z-index: 100;
      opacity: 1;
    }
  }
  .award-model {
    @include model('fixed');
    .model-body {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      background: transparent;
      width: 476px;
      .award-head {
        height: 205px;
        font-weight: bold;
        padding: 90px 30px 0 226px;
        position: relative;
        @include theme_each {
          background: get_color('sign_award_head') no-repeat center center / 100% 100%;
        }
        img {
          position: absolute;
          right: 20px;
          top: 64px;
          width: 24px;
          height: 24px;
          cursor: pointer;
        }
        .title {
          font-size: 40px;
        }
        .sub {
          color: $-color-brown;
          font-size: 30px;
        }
      }
      .award-body {
        width: calc(100% - 16px);
        margin: 0 auto;
        padding: 20px 30px 0 30px;
        @include background_color();
        .exit-img {
          width: 100%;
          background: #5D4223;
          border: 10px solid;
          height: 40px;
          border-radius: 40px;
          @include border_color('deep_color');
        }
        .award-list {
          background: url("~@/assets/images/signIn/award-card.png") no-repeat center center / 100% 100%;
          padding: 10px;
          box-sizing: border-box;
          width: 332px;
          margin: -25px auto 0;
          position: relative;
          &:after, &:before {
            content: "";
            position: absolute;
            width: 100%;
          }
          &:after {
            top: 0;
            left: 0;
            height: 12px;
            background: linear-gradient( 360deg, rgba(148,97,0,0) 31%, #946100 100%);
          }
          &:before {
            height: 86px;
            background: url("~@/assets/images/signIn/award-mask.png") no-repeat center center / 100% 100%;
            bottom: 0;
          }
          .item {
            @include flex_between();
            height: 104px;
            line-height: 104px;
            color: $-color-brown;
            font-size: 24px;
            border-radius: 4px;
            border: 1px solid rgba(105, 55, 9, 0.2);
            margin-bottom: 12px;
            &:last-child {
              margin-bottom: 0;
            }
            .value {
              position: relative;
              min-width: 120px;
              text-align: center;
              padding: 0 10px;
              span {
                font-family: changchun1hao;
                font-size: 48px;
                line-height: 28px;
                vertical-align: -4px;
              }
              &:after {
                content: "";
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 0;
                height: 40px;
                border: 1px solid $-color-brown;
              }
            }
            .content {
              text-align: center;
              flex: 1;
            }
          }
        }
      }
      .award-footer {
        height: 130px;
        width: 100%;
        margin: 0 auto;
        background: url("~@/assets/images/signIn/award-footer.png") no-repeat center center / 100% 100%;
      }
    }
  }
}
